class Person:
  def_init_(self,name):
    self.name = name
    self._age =1
    #设置私有属性的方法
  def set_age(self,new_age):
    if 0<new_age<=120:
        self._age =new_age

  def get_age(self):
    return set_age


